using System.Collections.Generic;

namespace SecurityLog.Repositories
{
    public interface IUsersRepository
    {
        Models.User CreateNewUser(string name, string initials, string password, bool enabled);
        Models.User EditUser(int id, string name, string initials, string password, bool enabled);
        Models.User GetUserById(int id);
        IEnumerable<Models.User> GetAllUsers();
        void DeleteUser(int id);
        void ToggleUser(int id);
        bool IsEnabled(int id);
        bool Validate(string initials, string password);
        Models.User GetUser(string initials, string password);
    }
}